//
//  UILabel+AttriLabel.h
//  丁诚昊的外包项目(2016_V7宝)
//
//  Created by DimChum_Haul on 16/3/29.
//  Copyright © 2016年 沙罗双树831. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UILabel (AttriLabel)
/** 富文本UILabel */
-(instancetype) initWithTitle:(NSString*)title
                     withFont:(UIFont*)fontNumber
                    backColor:(UIColor*)backColor;

-(instancetype) initWithTitle:(NSString*)title
                     withFont:(UIFont*)fontNumber
                   thinBorder:(BOOL)Thin;
-(CGSize) calcSize;
@end

@interface NSAttributedString (AttriLabel)
+(NSAttributedString*) AttriStringByLengthOfChar:(unsigned long)SubRangeCount
                                       oriString:(NSString*)title;
@end
